#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include "prompt.h"
#include "shell.h"

#define JOB_NUM 100
#define MAX_INPUT_SIZE 1024

// Suspended jobs shared globally

int main(void)
{
    initialize_shell();
    signal(SIGINT, SIG_IGN);
    signal(SIGQUIT, SIG_IGN);
    signal(SIGTSTP, SIG_IGN);
    // Enter the shell's main loop
    shell();

    // Cleanup and exit the shell
    cleanup_shell();

    return 0;
}
